//
// Created by liusiwei on 2021/8/29.
//
#ifndef UNTITLED1_ADJACENCYMATRIX_H
#define UNTITLED1_ADJACENCYMATRIX_H

#include <iostream>

using namespace std;
#define MaxVum 100
typedef char VexType;
typedef int EdgeType;
typedef struct {
    VexType Vex[MaxVum];
    EdgeType Edge[MaxVum][MaxVum];
    int vexnum, edgenum;
} AMGraph;

class AdjacencyMatrix {
public:
    int Locatevex(AMGraph G,VexType x);
    void GreateAMGraph(AMGraph&);
    void Print(AMGraph& );
};


#endif //UNTITLED1_ADJACENCYMATRIX_H
